using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("VarsInternal")]
	public class VarsInternal : MonoClass
	{
		public VarsInternal(IntPtr address, string className)
			: base(address, className)
		{
		}

		public VarsInternal(IntPtr address)
			: this(address, "VarsInternal")
		{
		}

		public static VarsInternal Get()
		{
			return MonoClass.smethod_15<VarsInternal>(TritonHs.MainAssemblyPath, "", "VarsInternal", "Get", Array.Empty<object>());
		}

		public static void RefreshVars()
		{
			MonoClass.smethod_17(TritonHs.MainAssemblyPath, "", "VarsInternal", "RefreshVars");
		}

		public bool Contains(string key)
		{
			return method_11<bool>("Contains", new object[1] { key });
		}

		public string Value(string key)
		{
			return method_13("Value", key);
		}

		public void Set(string key, string value)
		{
			method_8("Set", key, value);
		}

		public bool LoadConfig(string path)
		{
			return method_11<bool>("LoadConfig", new object[1] { path });
		}
	}
}
